import Vue from 'vue'
import Vuex from 'vuex'
import moduleCart from './module-cart.js'
import moduleUser from './module-user.js'

Vue.use(Vuex)

const store = new Vuex.Store({
  state: {
    count: 0
  },
	modules: {
		cart: moduleCart,
		user: moduleUser
	},
	actions: {},
  mutations: {
  }
})

export default store